package Client.Model;

public class Notification {

	public static final int USER_IN = 201;
	public static final int USER_OUT = 202;
	public static final int USER_GAME = 203;
	
	public static final int INVITATION_CANCELLED = 211;
	public static final int INVITATION_RECEIVED = 212;
	public static final int INVITATION_ACCEPTED = 213;
	public static final int INVITATION_REJECTED = 214;
	
	public static final int GAME_ENEMY_READY = 215;
	public static final int GAME_ENEMY_QUIT = 216;
	public static final int GAME_DISCONNECTED = 217;
	
	public static final int SERVER_OFFLINE = 220;
	

	
	int type;
	String username;
	
	public Notification(int type) {
		this.type = type;
	}
	
	public Notification(int type, String username) {
		this.type = type;
		this.username = username;
	}
	
	public int getType() {
		return type;
	}
	
	public String getUsername() {
		return username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}
	
	
	
}
